package com.cloudbroker.bcs.platform.dav.bizapi.service.business.customer.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.Mobile;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.HSBCPSVO;

public class RegisterOrLoginForm extends HSBCPSVO {
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;
    
    /** 手机号 */
    @NotBlank
    @Mobile
    private String mobile;
    
    /** 密码 */
    @NotBlank
    @Length(max = 32)
    private String password;
    
    /** 验证码 */
    @NotBlank
    @Length(max = 8)
    @IntegerString
    private String verify_code;
    
    public String getMobile() {
        return mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public String getVerify_code() {
        return verify_code;
    }
    
    public void setVerify_code(String verify_code) {
        this.verify_code = verify_code;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("RegisterOrLoginForm [mobile=").append(mobile).append(", password=").append(password)
                .append(", verify_code=").append(verify_code).append("]");
        return builder.toString();
    }

}
